import objectToObject from '@/mao-ui/library/objectToString';
let route = (route, params={}) => {
	let queryString = objectToObject(params);
	uni.navigateTo({url: route + (queryString ? '?' + queryString : '')});
}
export default route